package property.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import property.pojo.Overhaul;
import property.pojo.OverhaulExample;
import property.pojo.OverhaulKey;

public interface OverhaulMapper {
    long countByExample(OverhaulExample example);

    int deleteByExample(OverhaulExample example);

    int deleteByPrimaryKey(OverhaulKey key);

    int insert(Overhaul record);

    int insertSelective(Overhaul record);

    List<Overhaul> selectByExample(OverhaulExample example);

    Overhaul selectByPrimaryKey(OverhaulKey key);

    int updateByExampleSelective(@Param("record") Overhaul record, @Param("example") OverhaulExample example);

    int updateByExample(@Param("record") Overhaul record, @Param("example") OverhaulExample example);

    int updateByPrimaryKeySelective(Overhaul record);

    int updateByPrimaryKey(Overhaul record);
}